package cn.lingyangwl.agile.system.model.rqrs.article;

import cn.lingyangwl.agile.system.model.entity.Article;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 文章
 *
 * @author shenguangyang
 */
@Getter
@Setter
public class ArticleBase {
	@ApiModelProperty(value = "文章组id")
	private Long groupId;
	
	@ApiModelProperty(value = "文章标题")
	private String title;

	@ApiModelProperty(value = "文章标识")
	private String code;
	
	@ApiModelProperty(value = "文章内容")
	private String content;
	
	@ApiModelProperty(value = "文章封面")
	private String image;
	
	@ApiModelProperty(value = "访问数")
	private Integer visit;

	@ApiModelProperty(value = "状态")
	private String status;
	
	@ApiModelProperty(value = "排序")
	private Integer sortNo;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "附件")
	private List<Article.Attachment> attachments;
}
